<?php
/**
*
* @package shopBB
* @copyright (c) 2008 EXreaction, Lithium Studios
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

if (!defined('PHPBB_ROOT_PATH')) define('PHPBB_ROOT_PATH', '../');
if (!defined('SHOPBB_PATH')) define('SHOPBB_PATH', PHPBB_ROOT_PATH . 'shop/');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));

// required for phpBB 3.0.x
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = PHP_EXT;

if (!file_exists(PHPBB_ROOT_PATH . 'umil/umil_auto.' . PHP_EXT))
{
	trigger_error('Please download the latest UMIL (Unified MOD Install Library) from: <a href="http://www.phpbb.com/mods/umil/">phpBB.com/mods/umil</a>', E_USER_ERROR);
}

$mod_name = 'SHOPBB';
$version_config_name = 'shopbb_version';
$language_file = 'mods/shop/umil';

include(SHOPBB_PATH . 'versions.' . PHP_EXT);

define('UMIL_AUTO', true);
include(PHPBB_ROOT_PATH . 'umil/umil_auto.' . PHP_EXT);

?>